package com.rqbl.controller.forward;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 转发控制器
 */

@Controller
@RequestMapping("/forward")
public class ForwardController {
    @RequestMapping("indexPage")
    public String index() {
        return "forward:/WEB-INF/jsp/index.jsp";
    }

    @RequestMapping("addBarPage")
    public String addBarHtml() {
        return "forward:/WEB-INF/jsp/addBar.jsp";
    }

    @RequestMapping("addTopicPage")
    public String addTopicHtml() {
        return "forward:/WEB-INF/jsp/addTopic.jsp";
    }

    @RequestMapping("barIndexPage")
    public String barIndexPage() {
        return "forward:/WEB-INF/jsp/barIndex.jsp";
    }
    @RequestMapping("commentIndexPage")
    public String commentIndexPage() {
        return "forward:/WEB-INF/jsp/comment.jsp";
    }

    @RequestMapping("barDetailPage")
    public String barDetailPage() {
        return "forward:/WEB-INF/jsp/barDetail.jsp";
    }

    @RequestMapping("forwardUserIndexPage")
    public String forwardUserIndexPage() {
        return "forward:/WEB-INF/jsp/userIndex.jsp";
    }

    /**
     * 跳转用户订阅界面
     */
    @RequestMapping("forwardUserSubPage")
    public String forwardUserSubPage() {
        return "forward:/WEB-INF/jsp/userSubscribe.jsp";
    }

    /**
     * 跳转到用户兴趣标签界面
     */
    @RequestMapping("forwardUserTagPage")
    public String forwardUserTagPage() {
        return "forward:/WEB-INF/jsp/interestList.jsp";
    }

    @RequestMapping("forwardUserFriendPage")
    public String forwardUserFriendPage() {
        return "forward:/WEB-INF/jsp/friendList.jsp";
    }

    @RequestMapping("forwardUserCommentPage")
    public String forwardUserMessagePage() {
        return "forward:/WEB-INF/jsp/userComment.jsp";
    }

    @RequestMapping("forwardUserPasswordPage")
    public String forwardUserPasswordPage() {
        return "forward:/WEB-INF/jsp/updatePassword.jsp";
    }

    @RequestMapping("forwardUserSettingPage")
    public String forwardUserSettingPage() {
        return "forward:/WEB-INF/jsp/settings.jsp";
    }

    @RequestMapping("forwardUserEmailPage")
    public String forwardUserEmailPage() {
        return "forward:/WEB-INF/jsp/updateEmail.jsp";
    }

    @RequestMapping("forwardUserAccusionPage")
    public String forwardUserAccusionPage() {
        return "forward:/WEB-INF/jsp/accusionUser.jsp";
    }

    @RequestMapping("forwardAddBarPage")
    public String forwardAddBarPage() {
        return "forward:/WEB-INF/jsp/addBar.jsp";
    }

    @RequestMapping("forwardAddTopicPage")
    public String forwardAddTopicPage() {
        return "forward:/WEB-INF/jsp/addTopic.jsp";
    }
}
